package com.appleframework.project.demo.provider.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.appleframework.model.page.Pagination;
import com.appleframework.project.demo.common.entity.ClientDetails;
import com.appleframework.project.demo.common.model.ClientDetailsSo;

@Repository
public interface ClientDetailsMapper {

	int deleteByPrimaryKey(String id);

	int insert(ClientDetails record);

	int insertSelective(ClientDetails record);

	ClientDetails selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(ClientDetails record);

	int updateByPrimaryKey(ClientDetails record);

	List<ClientDetails> selectAll();

	List<ClientDetails> selectByPage(@Param("page") Pagination page, @Param("so") ClientDetailsSo so);

}